import requests
from requests.exceptions import RequestException

try:
    response = requests.get("http://www.baidu1.com")
    print("normal")
except RequestException as e:
    print(f"请求发生异常:{e}")
